//定时任务
import { scheduleJob } from 'node-schedule'
import placardService from '../service/placard.js'

//每天0:00做一次
export const pass_one_day = () => {
	scheduleJob('0 0 0 * * *',()=>{
		console.log('0:00 => 任务触发')
		placardService.passday()
	})
} 
